//
//  MyBalanceTopCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2018/1/4.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "MyBalanceTopCell.h"

@interface MyBalanceTopCell ()
@property (weak, nonatomic) IBOutlet UILabel *leftLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightLabel;

@end

@implementation MyBalanceTopCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.leftLabel.font = MYFONT(17);
    
    self.rightLabel.font = MYFONT(19);
    
    self.rightLabel.textColor = [UIColor redColor];
    // Initialization code
}

- (void)setSum:(NSString *)sum{
    _sum = sum;
    
    self.rightLabel.text = [NSString stringWithFormat:@"%@P",_sum];
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
